from django import forms
from django.db import models
from django.forms import Textarea, TextInput
from django.contrib.auth.models import User

class ContactForm(forms.Form):
    asunto = forms.CharField(max_length=100)
    mensaje = forms.CharField()
    email = forms.EmailField()
    cc_a_mi = forms.BooleanField(required=False)

    def is_valid(self, request):
    	valid=super(ContactForm, self).is_valid()
    	data = self.cleaned_data
        return True
    	if not valid:
    		print("YYYY")
    		return False
#     	return True

